package com.yunche.yunchebusiness.entity

import com.contrarywind.interfaces.IPickerViewData

/**
 * Create by Crcker on 2018/12/28 10:04
 * Email: Crcker@163.com
 */


data class AreaEntity(
    val areaId: Long,
    val areaName: String,
    val feature: Any,
    val gmtCreate: Any,
    val gmtModify: Any,
    val level: Int,
    val listBaseArea: List<BaseArea>,
    val parentAreaId: Long,
    val parentAreaName: Any,
    val status: Boolean
) : IPickerViewData {
    override fun getPickerViewText(): String {
        return areaName
    }
}

data class BaseArea(
    val areaId: Long,
    val areaName: String,
    val feature: String,
    val gmtCreate: Any,
    val gmtModify: Any,
    val level: Int,
    val listBaseArea: Any,
    val parentAreaId: Long,
    val parentAreaName: String,
    val status: Boolean
)